public class oldMan extends Person {
    public oldMan(String name, int age) {
        super(name, age);
    }

    public void money() {
        System.out.println("姓名:" + super.getName() + "\t年龄:" + super.getAge() + "\t本次出行金额:1000");
    }
}
